﻿using Zdap.Common;

namespace Datav.Design.IService
{
    /// <summary>
    ///
    /// </summary>
    public interface IStudentGradeDetailService
    {
        /// <summary>
        ///
        /// </summary>
        /// <param name="model"></param>
        /// <param name="currentUser"></param>
        /// <returns></returns>
        ValueTask<ResponseContext<QuestionDetailDto>> GetQuestionDetail(QuestionSubmitDto model, UserTicket currentUser);

        Task<ResponseContext<bool>> ResettingAnswer(long gradeDetailId, UserTicket currentUser);

        /// <summary>
        ///
        /// </summary>
        /// <param name="model"></param>
        /// <param name="currentUser"></param>
        /// <returns></returns>
        Task<ResponseContext<AnswerCompareResultModel>> SubmitAnswer(SubmitAnswerModel model, UserTicket currentUser);
    }
}